package com.csdj.t309springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 拼图表
 * </p>
 *
 * @author 谭湛宇
 * @since 2022-01-14
 */
@TableName("jigsaw_puzzle")
public class JigsawPuzzle implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;

    private String prizeName;

    private String content;

    private String imageUrl;

    private Integer quantityCompleted;

    private Integer totalQuantity;

    private Integer numberOfRight;

    private Integer count;

    private LocalDateTime createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getPrizeName() {
        return prizeName;
    }

    public void setPrizeName(String prizeName) {
        this.prizeName = prizeName;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
    public Integer getQuantityCompleted() {
        return quantityCompleted;
    }

    public void setQuantityCompleted(Integer quantityCompleted) {
        this.quantityCompleted = quantityCompleted;
    }
    public Integer getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(Integer totalQuantity) {
        this.totalQuantity = totalQuantity;
    }
    public Integer getNumberOfRight() {
        return numberOfRight;
    }

    public void setNumberOfRight(Integer numberOfRight) {
        this.numberOfRight = numberOfRight;
    }
    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "JigsawPuzzle{" +
            "id=" + id +
            ", title=" + title +
            ", prizeName=" + prizeName +
            ", content=" + content +
            ", imageUrl=" + imageUrl +
            ", quantityCompleted=" + quantityCompleted +
            ", totalQuantity=" + totalQuantity +
            ", numberOfRight=" + numberOfRight +
            ", count=" + count +
            ", createTime=" + createTime +
        "}";
    }
}
